package com.ajx.blog.mapper;

import java.util.List;

import com.ajx.blog.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Param;

public interface AdminMapper extends BaseMapper<Admin> {

    Integer insertRolesAdmin(@Param("roles") Integer roles, @Param("admins") Integer admins);

    Integer deleteRolesAdminById(@Param("aid") Integer aid);

    List<Admin> selectSpecificPermissionAdmin(@Param("description") String description);

}
